




class Freeboard:
    __slots__=("entities", "size")
    
    def __init__(self, gridsize):
        print("init Freeboard")
        
        #converts gridunits to units
        #each grid square is 100 units and 1 gridunit
        self.size = gridsize * 100 
        self.entities = set()
        
        
    
    def add(self, e):
        self.entities.add(e)
        return True
    
    def remove(self, e):
        self.entities.remove(e)
        return True
